package wk.demo.bean;

import java.io.File;

public class FileItem {
    private File file ;
    private boolean isDirectory ;

    public FileItem(File file, boolean isDirectory) {
        this.file = file;
        this.isDirectory = isDirectory;
    }

    public File getFile() {
        return file;
    }

    public void setFile(File file) {
        this.file = file;
    }

    public boolean isDirectory() {
        return isDirectory;
    }

    public void setDirectory(boolean directory) {
        isDirectory = directory;
    }
}
